package ggze;

import ggze.loader.Loading;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;

public class ServerListenerBoot implements ApplicationListener<ContextRefreshedEvent> {
    @Override
    public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) {
        System.out.println("========================================监听器启动=====================================");
        try {
            new Loading();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
